<h1>Listing teams</h1>

<cftable query="teams" colHeaders="true" HTMLTable="true">
	
			
				
					<cfcol header="Teamid" text="#teamid#" />
				
					<cfcol header="Teamname" text="#teamname#" />
				
			
		
	<cfcol header="" text="#linkTo(text='Show', action='display', key=teamid)#" />
	<cfcol header="" text="#linkTo(text='Edit', action='modify', key=teamid)#" />
	<cfcol header="" text="#linkTo(text='Delete', action='delete', key=teamid, confirm='Are you sure?')#" />
</cftable>

<cfoutput>
	<p>#linkTo(text="New team", action="register")#</p>
</cfoutput>
